<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>jquery-date-plugin</title>
	<script src="js/jquery-1.10.2.js"></script>
	<style>
		body {
			margin: 0;
			padding: 0;

		}

		#main {
			padding: 20px;
		}

		#container {
			width: 500px;
			height: 400px;
			border: 1px solid #ccc;
			-moz-boxshadow: 1px 1px 10px #ccc;
			-webkit-boxshadow: 1px 1px 10px #ccc;
			box-shadow: 2px 2px 4px #ccc;
			background: #ebebeb;
		}

		.hide {
			display: none;
		}
	</style>

</head>
<body>
	<div id="main">
		<button id="btn">show</button>
		<div id="container" class="hide"></div>
	</div>

	<script>
		$(function() {
// $("#container").slideDown().show();	
			var $container = $("#container");
			$("#btn").on("click", function() {
				if($container.is(":hidden")){
					$("#container").slideDown("fast").show()
				}else {
					$("#container").slideUp();
				}
			})
		});
	</script>
</body>
</html>